<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<SubSystem.Models.ArticleModel>" %>
<%@ Import Namespace="SubSystem.Helpers" %>

<script src="../../Scripts/jquery.cycle.min.js" type="text/javascript"></script>

<script type="text/javascript" language="javascript">
    $(document).ready(function() {
        $('.Slideshow').cycle({
            fx: 'fade',
            speed: 2500
        });
    });

</script>

<div class="Slideshow">
    <%
        foreach (var image in Model.Images)
        { 
    %>
    <%=Html.Image(image) %>
    <%
        }
    %>
</div>
